DECLARE
V_COUNT       NUMBER;
V_SQL VARCHAR2(4000);
BEGIN
<#list TriggerOracle as t>
    BEGIN
    <#if t.getOracleSQL()??&&t.getOracleSQL()!="">
        V_SQL :='${t.getOracleSQL()}';
    </#if>
        EXECUTE IMMEDIATE V_SQL;
        DBMS_OUTPUT.PUT_LINE('${t.name} 触发器执行成功');
    exception when  others then
            dbms_output.put_line('错误号：'||sqlcode);
            dbms_output.put_line('错误信息：'||sqlerrm);
    END;
</#list>

END;